package com.joysuch.wwyt.workflow.service;

import com.joysuch.wwyt.core.bean.AuthorityBean;
import com.joysuch.wwyt.core.common.ajax.ResultBean;
import com.joysuch.wwyt.core.exception.ApiBusinessException;
import com.joysuch.wwyt.workflow.bean.WorkFlowMenuBean;
import com.joysuch.wwyt.workflow.bean.WorkFlowMenuSystemBean;
import com.joysuch.wwyt.workflow.entity.WorkFlowMenu;

import java.util.List;
import java.util.Map;

public interface WorkFlowMenuService {

    String getTaskNameList(Long processId);

    List<WorkFlowMenu> getMenuList(Long processId);

    void saveProcessMenu(WorkFlowMenuBean bean) throws ApiBusinessException;

    WorkFlowMenu getById(Long menuId);

    void deleteMenu(Long menuId);

    List<WorkFlowMenuSystemBean> getSystemList();

    Map<Long, List<AuthorityBean>> findWorkFlowMenuList();

    @Deprecated
    ResultBean produceBaseMenu(Long processId);
}
